Modification start date
[BattleCats.git] / Assets / Scripts / Depreceated Scripts / TestPlayer23.cs
blobfcd384633c07f9aa3ad3f022bf3de5f687406bbc
1 //ECHibiki. For testing station interactions 23, 26 and movement 30
2 using System.Collections;
3 using System.Collections.Generic;
4 using UnityEngine;
6 public class TestPlayer23 : MonoBehaviour {
8 public float drive_x_warp;
9 public float drive_y_warp;
10 public float idle_x_warp;
11 public float idle_y_warp;
13 MovementToStationConnector movement_station_abstraction;
15 PlayerStationBehaviour player_station_behaviour;
16 CatMovement cat_movement;
19 // Use this for initialization
20 void Start () {
21 player_station_behaviour = new PlayerStationBehaviour();
22 // player_station_behaviour.init (this);
23 cat_movement = gameObject.GetComponent (typeof(CatMovement)) as CatMovement;
25 movement_station_abstraction = new MovementToStationConnector ();
26 movement_station_abstraction.init (player_station_behaviour, cat_movement);
29 // Update is called once per frame
30 void Update () {
32 movement_station_abstraction.update ();